From 5caee7f556e0f0838c53c405c21926349e9806cc Mon Sep 17 00:00:00 2001 From: Kalita Alexey Date: Wed, 25 Jan 2017 09:52:59 +0300 Subject: [PATCH] Fixed error --- src/doc/manifest.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/doc/manifest.md b/src/doc/manifest.md index b6bbb328e..0b3eff6fa 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -459,10 +459,13 @@ You can run individual executable examples with the command `cargo run --example Specify `crate-type` to make an example be compiled as a library: ```toml -[[example.foo]] +[[example]] +name = "foo" crate-type = ["staticlib"] ``` +You can build individual library examples with the command `cargo build --example `. + # Tests When you run `cargo test`, Cargo will: -- 2.30.2